package com.bank.service.login.impl;

import com.bank.dao.login.LoginDao;
import com.bank.entity.login.Login_user;
import com.bank.service.login.LoginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.servlet.http.HttpSession;

@Service
public class LoginServiceImpl implements LoginService {
    @Autowired
    private LoginDao loginDao;

    @Override
    public Login_user login(Login_user user) {
        System.out.println("impl1");
        return loginDao.login(user);
    }

    @Override
    public void zhuce(Login_user user) {
        loginDao.zhuce(user);
    }
}
